//
//  WorkOrderStore.h
//  NewPro
//
//  Created by RYX on 2018/11/24.
//  Copyright © 2018年 何荧红. All rights reserved.
//

#import <Foundation/Foundation.h>
@class WorkOrderDetailModel;
@class PostWorkOrderDataParameters;

@interface WorkOrderStore : NSObject

/**
 * 获取工单处理列表
 */
- (void)getWorkOrderListWithCustomId:(NSString *)customId Success:(void(^)(NSArray *listArr))success Failure:(void(^)(NSError *error))failure;


/**
 * 获取已处理工单列表
 */
- (void)getWorkOrderProcessedListWithCustomId:(NSString *)customId Success:(void(^)(NSArray *listArr))success Failure:(void(^)(NSError *error))failure;


/**
 * 获取工单详情
 */
- (void)getWorkOrderDetailWithWorkOrderId:(NSString *)workOrderId Success:(void(^)(WorkOrderDetailModel *model))success Failure:(void(^)(NSError *error))failure;

/**
 * 工单审核资料提交
 */
- (void)postWorkOrderDataWithWorkWithParameters:(PostWorkOrderDataParameters *)parameters Success:(void(^)(void))success Failure:(void(^)(NSError *error))failure;

/**
 * 获取消费证明模板
 */
- (void)getConsumptionURLSuccess:(void(^)(NSString *imgStr))success Failure:(void(^)(NSError *error))failure;

@end


